<script  language="javascript">
window.addEvent('domready', function() {   
//alert($('isexistMember').value);
			if(parseInt($('isexistMember').value)>0)
			{
			$j.messager.alert('你已经申请过任务','每次任务只能申请一次');
			$('gcbutton').disabled="disabled" ;
			$j('#winShareTask').window('close');
			$j('#winwindivid').window('close');
			}
			else
			{
			msg('请领取团队任务','填写能力范围内的张数');			
			}
		
});	



</script>
<br/>
<center>
	<table style="font-size:12px" border="1">
	<tr>
	<td><label id="winuserid">会员ID:{$_SESSION['UserInfo']['login_id']}</label></td>	
	<td><label id="winusername">会员名:{$_SESSION['UserInfo']['name']}</label></td>	
	<td><label id="winteamid">团队ID:{$_SESSION['UserInfo']['team_id']}</label></td>	
	</tr><tr>
	<td><label id="wintaskid">当前任务ID:{$id_task}</label></td>	
	<td><label id="wintaskpage">任务张数:{$taskpage}</label></td>
	<td><label id="wintaskNpage">可领张数:{$task_now_page}</label></td>	
	</tr><tr>
	<td colspan="2"><label id="winperC">投放能力:{$_SESSION['UserInfo1']['person_capcity']}</label></td>	
	<td><label id="winperNC">可用投放能力:{$person_now_capcity}</label></td>	
	
	</tr><tr>
	<td colspan="2">	<label id="wingettcount"><input type="text" width="15" id="wingettaskcount"  /></label></td>	
	<td ><input value="认领任务额度" type="button" id="gcbutton" width="20"  onclick="getSharetaskn();"/></td>	
	</tr>
	</table>
</center>	
	<input type="hidden" id="isexistMember" value="{$isexistMember}"/>
	
